[NTG-context] thinrules width

2020-12-14 Thread Rik Kabel
Hello list, and developers in particular, I note that thinrules (and its setup, setupthinrules, and relatives thinrule and hairline) does not have a width setting, and always sets a rule (or rules) the full width of the text area (less any text set on the same line. No problem, but I do see

Re: [NTG-context] Filling a page with \thinrules

2019-12-07 Thread Otared Kavian
Thanks Rik! The \phantom stuff is following me since the good old Plain TeX days… :-) Now I know how to get rid of it. Best regards: OK > On 7 Dec 2019, at 16:33, Rik Kabel wrote: > […] > > Replace the \hphantom{...} with \dontleavehmode. > > -- > Rik

Re: [NTG-context] Filling a page with \thinrules

2019-12-07 Thread Rik Kabel
)/(\dimexpr\lineheight+2.2ex\relax)\relax \thinrules[n=\number\scratchcounter,inbetween={\blank[2.2ex]}] \page } \showframe \starttext \dorecurse{2}{\input knuth.tex\par} \thinrulesfillpage \thinrulesfillpage \input ward.tex \thinrulesfillpage \stoptext On 7 Dec

Re: [NTG-context] Filling a page with \thinrules

2019-12-07 Thread Hans Hagen
know why... \blank \scratchcounter\dimexpr(\pagegoal-\pagetotal-2\lineheight)/(\dimexpr\lineheight+2.2ex\relax)\relax \thinrules[n=\number\scratchcounter,inbetween={\blank[2.2ex]}] \page } \showframe \starttext \dorecurse{2}{\input knuth.tex\par

Re: [NTG-context] Filling a page with \thinrules

2019-12-07 Thread Otared Kavian
\thinrules[n=\number\scratchcounter,inbetween={\blank[2.2ex]}] \page } \showframe \starttext \dorecurse{2}{\input knuth.tex\par} \thinrulesfillpage \thinrulesfillpage \input ward.tex \thinrulesfillpage \stoptext > On 7 Dec 2019, at 03:49, Rik Kabel wr

Re: [NTG-context] Filling a page with \thinrules

2019-12-06 Thread Rik Kabel
On 12/6/2019 17:50, Otared Kavian wrote: Hi all, I am preparing a test for my students where I would like to have the statement of the problem on the top of a page and the remainder to the bottom of that page filled with \thinrules, for them to write the solution. And sometimes there might

[NTG-context] Filling a page with \thinrules

2019-12-06 Thread Otared Kavian
Hi all, I am preparing a test for my students where I would like to have the statement of the problem on the top of a page and the remainder to the bottom of that page filled with \thinrules, for them to write the solution. And sometimes there might be an empty page filled with thinrules when

[NTG-context] thinrules

2012-05-17 Thread Meer, H. van der
Macro \thinrules places vertical whitespace before the first of its lines. I would like to get rid of that one, but have no success in doint that. Usage is: \par\thinrules[..]\par Howto? H van der Meer

Re: [NTG-context] thinrules

2012-05-17 Thread Wolfgang Schuster
Am 17.05.2012 um 17:46 schrieb Meer, H. van der: Macro \thinrules places vertical whitespace before the first of its lines. I would like to get rid of that one, but have no success in doint that. Usage is: \par\thinrules[..]\par Howto? \starttext a \hrule b \strut a \hrule \strut b

Re: [NTG-context] thinrules

2012-05-17 Thread Wolfgang Schuster
Am 17.05.2012 um 18:09 schrieb Meer, H. van der: Thanks, From your answer I understand that collapsing the preceding vertical space is impossible with \thinrules. \thinrule adds \strut at the begin of the rule which results in vertical space above and below. Wolfgang

[NTG-context] thinrules

2010-04-16 Thread Hans van der Meer
\thinrules disappear when then are the lone item and I can make them appear only by typeing somthing behind/before. However, I would to force a thin rule anyway, even if there is no surrounding text. How? Hans van der Meer

Re: [NTG-context] thinrules

2010-04-16 Thread Hans Hagen
On 16-4-2010 10:57, Hans van der Meer wrote: \thinrules disappear when then are the lone item and I can make them appear only by typeing somthing behind/before. However, I would to force a thin rule anyway, even if there is no surrounding text. How? put something invisible in front, \strut